import home_page from "@/views/web_page/home/home_page.vue";
import know_creat from "@/views/web_page/know_creat/know_creat.vue";
import know_edit from "@/views/web_page/know_creat/know_edit.vue";
import search_page from "@/views/web_page/search/search_page.vue";
import know_view_page from "@/views/web_page/know_view/know_view_page.vue";
import ai_full_page from "@/views/web_page/ai/ai_full_page.vue"
/**name必须等于component 必须等于组件名（注意大小写）*/
const home = [
  {
    path: "/home",
    name: "home_page",
    component: home_page,
    meta: { title: "首页" },
  },
  {
    path: "/ai",
    name: "ai_full_page",
    component: ai_full_page,
    meta: { title: "智能问答" },
  },
  {
    path: "/knowCreat",
    name: "know_creat",
    component: know_creat,
    meta: { title: "创建知识" },
  },
  {
    path: "/knowEdit/:id",
    name: "know_edit",
    component: know_edit,
    meta: { title: "编辑知识" },
  },
  {
    path: "/search",
    name: "search_page",
    component: search_page,
    meta: { title: "知识检索" },
  },
  {
    path: "/knowview/:id",
    name: "know_view_page",
    component: know_view_page,
    meta: { title: "知识浏览" },
  },
];
export default home;
